
<!DOCTYPE html>
<html>

    <head>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />        
        <title>
            login
        </title>
        <link href="/favicon.ico" type="image/x-icon" rel="icon" /><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
        <link rel="stylesheet" type="text/css" href="<?php echo urlCss(); ?>bootstrap.min.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo urlCss(); ?>font/css/font-awesome.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo urlCss(); ?>sb-admin.css" />
        
        <script type="text/javascript" src="<?php echo urlJs(); ?>jquery-1.10.2.js" ></script>
        <script type="text/javascript" src="<?php echo urlJs(); ?>bootstrap.min.js"></script>
	<script type="text/javascript" src="<?php echo urlJs(); ?>plugins/metisMenu/jquery.metisMenu.js"></script>
	<script type="text/javascript" src="<?php echo urlJs(); ?>sb-admin.js"></script>
        <script type="text/javascript" src="<?php echo urlJs(); ?>jquery.form.js"></script>
    </head>

</head>

<body>

    <div class="container">
        <div class="row">

            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Đăng nhập hệ thống</h3>
                    </div>
                    <div class="panel-body">
                        <?php echo CHtml::beginForm(); ?>                          
                            <fieldset>
                                <div class="form-group">
                                    <div class="input text required">
                                        <?php echo CHtml::activeTextField($model,'username',array('class' => 'form-control','placeholder' => 'Tài khoản')) ?>
                                        <?php echo CHtml::error($model, 'username')?>
                                    </div>                                
                                </div>
                                <div class="form-group">
                                    <div class="input password required">
                                        <?php echo CHtml::activePasswordField($model,'password',array('class' => 'form-control','placeholder' => 'Mật khẩu')) ?>
                                        <?php echo CHtml::error($model, 'password')?>
                                    </div>                                
                                </div>

                                <!-- Change this to a button or input when using this as a form -->
                                <input type="submit" class="btn btn-lg btn-success btn-block" value="Đăng nhập"/>
                                 <?php //echo CHtml::errorSummary($model); ?>
                            </fieldset>
                        <?php echo CHtml::endForm(); ?>                   
                    </div>
                </div>
            </div>
        </div>
    </div>



</body>

</html>
